import { Transform } from 'class-transformer';
import { Util } from 'src/common/Util';

/*
 * @Author: jingfuu@163.com
 * @Date: 2024-11-27 16:46:09
 * @LastEditTime: 2024-11-27 17:09:20
 * @Description: 系统配置
 */
class ConfigDto {
  configId: number;
  configName: string;
  configKey: string;
  configValue: string;
  configType: string;
  createBy: string;
  @Transform(({ value }) => Util.convertTimeStr(value))
  createTime: string;
  updateBy: string;
  @Transform(({ value }) => Util.convertTimeStr(value))
  updateTime: string;
  remark: string;
}
export default ConfigDto;
